﻿using FreeSql.DataAnnotations;
using MyProject;
namespace MyProject{
    public partial class Group {
        [Navigate(nameof(User.GroupId))]
        public List<User> Users { get; set; }//OneToMany
        //在 User 查找 GroupId 属性，与 本实体.主键 关联
    }
}